package com.rz.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rz.admin.entity.Group;
import org.apache.ibatis.annotations.Delete;

public interface GroupMapper extends BaseMapper<Group> {
    @Delete("delete from t_group_resource where group_id = #{val}")
    int deleteByGroupId(Integer id);
}